package com.zkk.dao;

import com.zkk.pojo.User;

import java.util.List;

public interface UserDao {
    List<User> findAll();

    User login(String username,String password);

    int insert(User user);

    User findUserById(int id);

    int deleteById(int id);

    List<User> findAll(int i, int pageSize);

    int count();
}
